package com.wisdomparking.dao.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.wisdomparking.bean.Manager;

@Mapper
public interface ManagerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Manager record);

    int insertSelective(Manager record);

    Manager selectByPrimaryKey(Integer id);
    
    Manager selectByUserName(String userName);
    
    Manager selectByMobile(String mobile);

    int updateByPrimaryKeySelective(Manager record);

    int updateByPrimaryKey(Manager record);
    
    List<Manager> getManagerList(Map<String, Object> map);
    
    long getCountByManager(Map<String, Object> map);
}